Date: Mon, 11 Nov 1996 17:02:09 GMT
Server: NCSA/1.5
Content-type: text/html
Last-modified: Tue, 29 Oct 1996 16:08:09 GMT
Content-length: 2099

<HTML>
<HEAD>
<TITLE>Handouts cs302-1, cs302-22</TITLE>
</HEAD>

<BODY BGCOLOR=#ffffff>
<H2>Handouts</H2>
Handouts will not always be handed out in class.  Often, they'll simply be posted here, and you'll be
responsible for reading them here, or printing your own copy.
<UL>
  <LI> <!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/first_day.html">The First Day</A>
  <LI> <!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/getting_started.html">Getting Started</A> (Links for the lab and software).
  <LI> (Sept 18) This <!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/function_square.cpp">program</A> demonstrates the simple square function.
<HR>
  <LI> (Sept 20) Short <!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/if_else1.cpp">example</A> of an if-else statement.
  <LI> (Sept 20) Short <!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/if_else2.cpp">example</A> of an
if-else controling more than a single statment.
  <LI> (Sept 20) Another <!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/if_else3.cpp">example</A> of
if-else.  This one shows an if-else statement inside of another if-else.
  <LI> (Sept 20) <!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/if_else4.cpp">This</A> demonstrates the
danger of typing '=' when you mean '=='.
  <LI> (Sept 20) <!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/if_else5.cpp">This</A> demonstrates the
danger of having an extra ';' in the wrong place.
  <LI> (Sept 20) <!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/while1.cpp">This</A> shows a use of a while
loop that sings the song "99 bottle of beer on the wall."
  <LI> (Sept 20) These are some relevant code samples from the text:
<UL>
  <LI> <!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/text/02-06.cpp">if-else example (2.6)</A> (simple)
  <LI> <!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/text/02-09.cpp">if-else example (2.9)</A> (complex)
  <LI> <!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/text/02-10.cpp">while loop example (2.10)</A>
</UL>
<HR>
  <LI> (Oct 24) A simple example of a <!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/classes/date1.cpp">date</A> class.
  <LI> (Oct 24) <!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/classes/date2.cpp">This</A> is another date
	class.  This one demonstrates constructors. 
<HR>
  <LI> (Oct 29) <!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/ship1">Here</A> are the files for the ship
example.  This example shows nested objects, and initialization lists in constructors.

</UL>


<HR>
<!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><A HREF="http://www.cs.wisc.edu/~melski/cs302/handouts/text">Here</A> are all of the sample code fragments from your text book.

<HR>
Last modified: Thu Oct 24 15:09:17 1996 by David Melski
<ADDRESS>
  <!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><A HREF="http://www.cs.wisc.edu/~melski/melski.html">melski@cs.wisc.edu</A>
</ADDRESS>
</BODY>
</HTML>
